package com.yuji.aacar.widgets.bigpic;

import android.text.TextUtils;

import java.io.Serializable;

/**
 *<li>Package: {@link BigPicBean}
 *<li>Date: 2017/6/21 17:56
 *<li>Discription: 大图浏览实体类
 */

public class BigPicBean implements Serializable {
    private String url;//图片地址
    private String title;//描述的标题
    private String content;//描述的内容
    private boolean isShowContent = true;//是否显示描述
    private boolean isCurrentItem;//当前项

    public void setUrl(String url) {
        this.url = url;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUrl() {
        return url;
    }

    public String getTitle() {
        return title;
    }

    public String getContent() {
        return content;
    }

    public boolean isShowContent() {
        if (TextUtils.isEmpty(content)) {
            return false;
        }
        return isShowContent;
    }

    public void setShowContent(boolean showContent) {
        isShowContent = showContent;
    }

    public boolean isCurrentItem() {
        return isCurrentItem;
    }

    public void setCurrentItem(boolean currentItem) {
        isCurrentItem = currentItem;
    }
}
